﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

namespace UI
{
    public enum ResultType
    {
        YieldPvpGain,
        YieldPvpLost,
        CopyPveGain,
    }
    public class UIBattleResult : Page
    {
        public GameObject iconTemplate;
        public UIGrid grid;

        public GameObject tip0,tip1,tip2;
        
        public void Init(ResultType resultType)
        {
            tip0.SetActive(resultType == ResultType.YieldPvpGain);
            tip1.SetActive(resultType == ResultType.YieldPvpLost);
            tip2.SetActive(resultType == ResultType.CopyPveGain);
        }
        
    }
}
